﻿<Page 
    x:Class="PerspectiveDemo.Wpf3D.View.Spherical3DImageDemo"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:p="http://www.codeplex.com/perspective"
    Title="Spherical3D"
    Style="{StaticResource PageStyle}">
    <Page.Resources>
        <ResourceDictionary Source="Wpf3DResources.xaml" />
    </Page.Resources>
    <p:Workshop3D>
        <p:Spherical3D ParallelCount="30" DefaultTextureMapping="True">
            <p:Spherical3D.Material>
                <DiffuseMaterial>
                    <DiffuseMaterial.Brush>
                        <ImageBrush ImageSource="http://www.odewit.net/Perspective/Images/Tree.jpg" TileMode="None" Stretch="Fill"/>
                    </DiffuseMaterial.Brush>
                </DiffuseMaterial>
            </p:Spherical3D.Material>
        </p:Spherical3D>
    </p:Workshop3D>
</Page>
